package com.minsheng.epidemic_rep;

import com.minsheng.epidemic_rep.config.AbstractBatisBaseConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;
@MapperScan(value = "com.minsheng.epidemic_rep.dao")
@EnableScheduling
@Import(AbstractBatisBaseConfig.class)
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class })
public class EpidemicRepApplication {

    public static void main(String[] args) {
        SpringApplication.run(EpidemicRepApplication.class, args);
    }

}
